package com.andkrup.ds {
	import com.andkrup.comm.ILoadListener;	
	
	import flash.events.IEventDispatcher;	
	
	import com.adobe.net.URI;	
	
	/**
	 * @author Andkrup
	 */
	public interface IResourceLoader extends IEventDispatcher {
		/**
		 * This method should add the uri to a list of uris to load and invoke
		 * functionality to load data from that uri
		 */
		function add(uri:URI, listener:ILoadListener):LoaderRequest;
		function remove(loaderRequest:LoaderRequest, listener:ILoadListener):void;
	}
}
